﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;
using System.Diagnostics.CodeAnalysis;
using System.Activities.Core.Presentation;

namespace MultipleAppDomainTest
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        public App()
        {
            Startup += ApplicationStartup;
        }

        private void ApplicationStartup(object sender, StartupEventArgs e)
        {
            // Clean temp directory
            FileService.ClearTempDirectory();
            // Clean the compile output directory
            FileService.ClearOutputDirectory();
            Caching.Load();
        }
    }
}
